package com.aiit.datamanager.dao;

import com.aiit.datamanager.entity.Employee;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Options;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 *
 */
@Mapper
@Repository
public interface EmployeeMapper {

    int insertEmployee(Employee employee);
    
    int deleteByEmployeeId(int employeeId);

    Employee selectById(int employeeId);

    List<Employee> selectByDepartmentId(int departmentId);

    List<Employee> selectByName(String employeeName);


}
